﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraBars;

namespace QLNS
{
    public partial class GiaoDienChinh : DevExpress.XtraBars.Ribbon.RibbonForm
    {
        public GiaoDienChinh()
        {
            InitializeComponent();
        }

        private void RibbonForm1_Load(object sender, EventArgs e)
        {
            panelControl2.Controls.Clear();
            HinhTrangChu hinh = new HinhTrangChu();
            hinh.Dock = System.Windows.Forms.DockStyle.Fill;
            panelControl2.Controls.Add(hinh);
        }

        private void btnThem_ItemClick(object sender, ItemClickEventArgs e)
        {
            panelControl2.Controls.Clear();
            GiaoDienNhapSach frm_nhap = new GiaoDienNhapSach();
            frm_nhap.Dock = System.Windows.Forms.DockStyle.Fill;
            panelControl2.Controls.Add(frm_nhap);
        }

        private void barEditItem3_ItemClick(object sender, ItemClickEventArgs e)
        {

        }

        private void btn_timkiem_ItemClick(object sender, ItemClickEventArgs e)
        {
            Giao_dien_tim_kiem formTimKiem = new Giao_dien_tim_kiem();
            formTimKiem.Show();
        }
    }
}